﻿using System;
using System.Windows;

using Xna = Microsoft.Xna.Framework;

namespace PotatoSoft.CustomControl
{
    public delegate void RenderRoutedEventHandler(object sender, RenderRoutedEventArgs e);

    public class RenderRoutedEventArgs : RoutedEventArgs
    {
        private Xna.Graphics.GraphicsDevice graphicsDevice;

        public RenderRoutedEventArgs(RoutedEvent routedEvent, Xna.Graphics.GraphicsDevice graphicsDevice)
            : base(routedEvent)
        {
            this.graphicsDevice = graphicsDevice;
        }

        public Xna.Graphics.GraphicsDevice GraphicsDevice
        {
            get
            {
                return this.graphicsDevice;
            }
        }
    }

    
}
